#ifndef _ITEM_H_
#define _ITEM_H_

#include "TouchInput.h"
class Item
{
public:
	Item();

	void Draw();
	void Update();
	void Init(int type, float posX, float posY);

	inline void setType(int type){m_type = type;}
	inline int getType(){return m_type;}
	inline float getCenterX(){return m_posX + 0.3f;}
	inline float getCenterY(){return m_posY;}
	inline int GetPower(){return m_power;}
	int DownPower();
	void SetReady(bool b);
private:
	char m_itemName[32];
	int m_type;
	float m_posX;
	float m_posY;
	float m_radius;
	Region m_toughRegion;

	int m_power;
	int m_powerMax;
	float m_powerCharge;
	bool m_bReady;
};

#endif // _ITEMMANAGER_H_
